package com.blb.generator.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.blb.generator.entity.Staff;
import com.baomidou.mybatisplus.extension.service.IService;
import com.blb.generator.entity.dto.StaffDto;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author yl
 * @since 2022-02-21
 */
public interface StaffService extends IService<Staff> {
    List<StaffDto> getList(Page<StaffDto> page, @Param(Constants.WRAPPER) Wrapper wrapper);
    List<StaffDto> getList(Page<StaffDto> page);
}
